package com.flower8;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动类
 * @author tanglin
 * @Date 2019/08/29 13:53
 */
@SpringBootApplication
@EnableScheduling  //定时任务
@EnableTransactionManagement  //事务
@MapperScan("com.flower8.dao")
public class ServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(ServerApplication.class, args);
	}

}
